package messagesvc.response.record;

import cn.ucloud.microsf.mpcsvc.common.enums.DataStatus;
import cn.ucloud.microsf.mpcsvc.common.enums.TemplateType;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel(value = "订阅模板列表请求对象")
@Data
public class SubscribeListResponse {

  @ApiModelProperty(value = "订阅方ID", example = "xxx", notes="用户ID,mobile,email")
  @JsonProperty(value = "sub_id")
  private String subId;

  @ApiModelProperty(value = "订阅方名称", example = "xxx")
  @JsonProperty(value = "sub_name")
  private String subName;

  @ApiModelProperty(value = "状态", example = "xxx", notes = "状态：0 - 无效 1- 有效")
  private DataStatus status;

  @ApiModelProperty(value = "状态描述", example = "xxx")
  @JsonProperty(value = "status_label")
  private String statusLabel;

  @ApiModelProperty(value = "模板ID", example = "xxx")
  @JsonProperty(value = "tmp_uuid")
  private String tmpUuid;

  @ApiModelProperty(value = "模板编码", example = "xxx")
  @JsonProperty(value = "tmp_code")
  private String tmpCode;

  @ApiModelProperty(value = "模板名称", example = "xxx")
  @JsonProperty(value = "tmp_name")
  private String tmpName;

  @ApiModelProperty(value = "模板类型", example = "xxx", notes = "1: 站内信 2: 短信 3: 邮件")
  @JsonProperty(value = "tmp_type")
  private TemplateType tmpType;

  @ApiModelProperty(value = "模板内容", example = "xxx")
  @JsonProperty(value = "tmp_content")
  private String tmpContent;

  @ApiModelProperty(value = "创建时间，时间戳", example = "1673354892630")
  @JsonProperty(value = "create_time")
  private Long createTime;
}
